<%--
  Created by IntelliJ IDEA.
  User: 14237
  Date: 2020/12/10
  Time: 15:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>新增部门信息</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/layui.css">
</head>
<body>
<form class="layui-form" action="${pageContext.request.contextPath}/dept/updatedept">
    <div class="layui-form-mid layui-word-aux">${requestScope.msg}</div>
    <input type="hidden" name="id" value="${requestScope.dept.deptid}">
    <div class="layui-form-item">
        <label class="layui-form-label">部门编号</label>
        <div class="layui-input-inline">
            <input type="text" name="deptNo" value="${requestScope.dept.deptNo}" required  lay-verify="required" placeholder="请输入部门编号" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">部门名称</label>
        <div class="layui-input-inline">
            <input type="textr" name="dname" value="${requestScope.dept.dname}" required lay-verify="required" placeholder="请输入名称" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">部门介绍</label>
        <div class="layui-input-inline">
            <input type="text" name="remark" value="${requestScope.dept.remark}" required lay-verify="required" placeholder="部门简介" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否取消部门</label>
        <div class="layui-input-inline">
            <input type="number" name="status" value="${requestScope.dept.status}" required lay-verify="required" placeholder="1或者0" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-subm  it lay-filter="formDemo">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>
</body>
</html>
